<?php

/**
 * Subclass for representing a row from the 'ringtone_download' table.
 *
 * 
 *
 * @package lib.model
 */ 
class RingtoneDownload extends BaseRingtoneDownload
{
	protected   $aRingtone = null;
	
    
    public function getRingtone()
    {
    	$this->aRingtone = RingtonePeer::retrieveByPK($this->getRingtoneId());
    	
    	if (!$this->aRingtone)
    	{
    		$this->aRingtone = new Ringtone();
    		$this->aRingtone->setId($this->getRingtoneId());
		}
    	
    	return $this->aRingtone;
	}
	
}
